import React from 'react'
import { NavBar, Space, Toast } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'
import { Empty } from 'react-vant';
function index() {
  const navigate = useNavigate()
  const back = () =>
    Toast.show({
      content: navigate(-1),
      duration: 1000,
    })
  return (
    <div>
      <NavBar onBack={back}>我的处方</NavBar>


      <div style={{marginTop: '20px'}}>

        <Empty
          className="custom-image"
          imageSize={90}
          image={<img src="https://img.yzcdn.cn/vant/custom-empty-image.png" />}
          description="没有更多数据"
        />
      </div>
    </div>
  )
}

export default index